#include <bits/stdc++.h>

using namespace std;

long long modulo=1000000000+7;

int main(int argc, char const *argv[])
{
	int t;scanf("%d", &t);
	int index=0;
	while(index++<t)
	{
		int n;scanf("%d", &n);
		for (int i = 0; i < n; ++i)
		{
			string s;cin>>s;
		}
	}
	return 0;
}
